package com.group.www.dao.impl;

import com.github.pagehelper.PageInfo;
import com.group.www.pojo.BrandInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BrandInfoDao {

    BrandInfo brandLogin(@Param("name") String bname,@Param("remark") String remark);


    BrandInfo queryById(Integer brandId);

    void update(BrandInfo brandInfo);

    void add(BrandInfo brandInfo);

    void deleteById(Integer brandid);

    List<BrandInfo> queryAll(@Param("id") Integer brandId, @Param("name") Object brandName);


}
